PDF4Java Reference Documentation
com.o2sol.pdf4java.core.io Package / Stream Class
Methods


In This Topic
    Stream Class Members
    In This Topic

    The following tables list the members exposed by Stream.

    Public Methods
     NameDescription
    Public MethodReturns this stream as a Java java.io.InputStream.  
    Public MethodReturns this stream as a Java java.io.OutputStream.  
    Public MethodCloses the stream.  
    Public MethodThis method supports the internal library infrastructure and should not be used by external client code.  
    Public MethodClears all buffers for this stream and causes any buffered data to be written to the underlying device.  
    Public MethodGets the length in bytes of the stream.  
    Public MethodGets the position within the current stream.  
    Public MethodReads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.  
    Public MethodReads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.  
    Public MethodSets the position within the current stream.  
    Public MethodSets the length of the current stream.  
    Public MethodSets the position within the current stream.  
    Public MethodWrites a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.  
    Public MethodWrites a byte to the current position in the stream and advances the position within the stream by one byte.  
    Top
    See Also